const { VUE_APP_ENV = 'development' } = process.env

const development = {
  api: 'http://localhost:3000',
  BASEURL: '/api', // 此处的/api是将vite.config.js文件中/api的替换过来

}

const test = {
  api: 'http://localhost:3000',
  BASEURL: '/api'
}

const production = {
  api: 'http://localhost:8080',
  BASEURL: ''
}

export const serverConf = {
  development,
  test,
  production
}[VUE_APP_ENV]
